﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CB5 RID: 3253
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OMBPAIGKBPM : IMessage<OMBPAIGKBPM>, IMessage, IEquatable<OMBPAIGKBPM>, IDeepCloneable<OMBPAIGKBPM>, IBufferMessage
	{
		// Token: 0x170028EA RID: 10474
		// (get) Token: 0x06009141 RID: 37185 RVA: 0x00181A64 File Offset: 0x0017FC64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OMBPAIGKBPM> Parser
		{
			get
			{
				return OMBPAIGKBPM._parser;
			}
		}

		// Token: 0x170028EB RID: 10475
		// (get) Token: 0x06009142 RID: 37186 RVA: 0x00181A6B File Offset: 0x0017FC6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OMBPAIGKBPMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170028EC RID: 10476
		// (get) Token: 0x06009143 RID: 37187 RVA: 0x00181A7D File Offset: 0x0017FC7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OMBPAIGKBPM.Descriptor;
			}
		}

		// Token: 0x06009144 RID: 37188 RVA: 0x00181A84 File Offset: 0x0017FC84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMBPAIGKBPM()
		{
		}

		// Token: 0x06009145 RID: 37189 RVA: 0x00181A8C File Offset: 0x0017FC8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMBPAIGKBPM(OMBPAIGKBPM other) : this()
		{
			this.cnt_ = other.cnt_;
			this.bHMBPCMIDCN_ = other.bHMBPCMIDCN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009146 RID: 37190 RVA: 0x00181ABD File Offset: 0x0017FCBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMBPAIGKBPM Clone()
		{
			return new OMBPAIGKBPM(this);
		}

		// Token: 0x170028ED RID: 10477
		// (get) Token: 0x06009147 RID: 37191 RVA: 0x00181AC5 File Offset: 0x0017FCC5
		// (set) Token: 0x06009148 RID: 37192 RVA: 0x00181ACD File Offset: 0x0017FCCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Cnt
		{
			get
			{
				return this.cnt_;
			}
			set
			{
				this.cnt_ = value;
			}
		}

		// Token: 0x170028EE RID: 10478
		// (get) Token: 0x06009149 RID: 37193 RVA: 0x00181AD6 File Offset: 0x0017FCD6
		// (set) Token: 0x0600914A RID: 37194 RVA: 0x00181ADE File Offset: 0x0017FCDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BHMBPCMIDCN
		{
			get
			{
				return this.bHMBPCMIDCN_;
			}
			set
			{
				this.bHMBPCMIDCN_ = value;
			}
		}

		// Token: 0x0600914B RID: 37195 RVA: 0x00181AE7 File Offset: 0x0017FCE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OMBPAIGKBPM);
		}

		// Token: 0x0600914C RID: 37196 RVA: 0x00181AF5 File Offset: 0x0017FCF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OMBPAIGKBPM other)
		{
			return other != null && (other == this || (this.Cnt == other.Cnt && this.BHMBPCMIDCN == other.BHMBPCMIDCN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600914D RID: 37197 RVA: 0x00181B34 File Offset: 0x0017FD34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Cnt != 0U)
			{
				num ^= this.Cnt.GetHashCode();
			}
			if (this.BHMBPCMIDCN != 0U)
			{
				num ^= this.BHMBPCMIDCN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600914E RID: 37198 RVA: 0x00181B8C File Offset: 0x0017FD8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600914F RID: 37199 RVA: 0x00181B94 File Offset: 0x0017FD94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009150 RID: 37200 RVA: 0x00181BA0 File Offset: 0x0017FDA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BHMBPCMIDCN != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.BHMBPCMIDCN);
			}
			if (this.Cnt != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Cnt);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009151 RID: 37201 RVA: 0x00181BFC File Offset: 0x0017FDFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Cnt != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Cnt);
			}
			if (this.BHMBPCMIDCN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BHMBPCMIDCN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009152 RID: 37202 RVA: 0x00181C54 File Offset: 0x0017FE54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OMBPAIGKBPM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Cnt != 0U)
			{
				this.Cnt = other.Cnt;
			}
			if (other.BHMBPCMIDCN != 0U)
			{
				this.BHMBPCMIDCN = other.BHMBPCMIDCN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009153 RID: 37203 RVA: 0x00181CA4 File Offset: 0x0017FEA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009154 RID: 37204 RVA: 0x00181CB0 File Offset: 0x0017FEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Cnt = input.ReadUInt32();
					}
				}
				else
				{
					this.BHMBPCMIDCN = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003768 RID: 14184
		private static readonly MessageParser<OMBPAIGKBPM> _parser = new MessageParser<OMBPAIGKBPM>(() => new OMBPAIGKBPM());

		// Token: 0x04003769 RID: 14185
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400376A RID: 14186
		public const int CntFieldNumber = 14;

		// Token: 0x0400376B RID: 14187
		private uint cnt_;

		// Token: 0x0400376C RID: 14188
		public const int BHMBPCMIDCNFieldNumber = 9;

		// Token: 0x0400376D RID: 14189
		private uint bHMBPCMIDCN_;
	}
}
